package com.tsp_tux.demo.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author 张志豪
 * 文章id，标题，摘要，内容，所属专题id，专题名称，作者uid，作者姓名，编辑时间，点赞数，收藏数,评分,关键词,是否原创
 */

@Data
@NoArgsConstructor
public class ArticleInfo {
    private int aid;
    private String title;
    private String summary;
    private String mdContent;
    private String sid;
    private String subject;
    private String uid;
    private String author;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp editTime;
    private int praiseNumber;
    private int collectNumber;
    private float mark;
    private String keyword;
    private int original;
    private int atype;
}
